home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3 / X11 / XSetFont.z / XSetFont
Encoding:
Text File  |  1998-10-30  |  2.1 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXSSSSeeeettttFFFFoooonnnntttt((((3333XXXX11111111))))     XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333))))      XXXXSSSSeeeettttFFFFoooonnnntttt((((3333XXXX11111111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XSetFont - GC convenience routines
  10.  
  11.      SSSSYYYYNNNNTTTTAAAAXXXX
  12.           XSetFont(_d_i_s_p_l_a_y, _g_c, _f_o_n_t)
  13.                 Display *_d_i_s_p_l_a_y;
  14.                 GC _g_c;
  15.                 Font _f_o_n_t;
  16.  
  17.      AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  18.           _d_i_s_p_l_a_y   Specifies the connection to the X server.
  19.  
  20.           _f_o_n_t      Specifies the font.
  21.  
  22.           _g_c        Specifies the GC.
  23.  
  24.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  25.           The _X_S_e_t_F_o_n_t function sets the current font in the specified
  26.           GC.
  27.  
  28.           _X_S_e_t_F_o_n_t can generate _B_a_d_A_l_l_o_c, _B_a_d_F_o_n_t, and _B_a_d_G_C errors.
  29.  
  30.      DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  31.           _B_a_d_A_l_l_o_c  The server failed to allocate the requested
  32.                     resource or server memory.
  33.  
  34.           _B_a_d_F_o_n_t   A value for a Font or GContext argument does not
  35.                     name a defined Font.
  36.  
  37.           _B_a_d_G_C     A value for a GContext argument does not name a
  38.                     defined GContext.
  39.  
  40.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  41.           XCreateGC(3X11), XQueryBestSize(3X11), XSetArcMode(3X11),
  42.           XSetClipOrigin(3X11), XSetFillStyle(3X11),
  43.           XSetLineAttributes(3X11), XSetState(3X11), XSetTile(3X11)
  44.           _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 4/30/98)
  64.  
  65.  
  66.  
  67.